docs(managed-postgres): document slow query patterns API#131
Open
mintlify[bot] wants to merge 1 commit into
Open
docs(managed-postgres): document slow query patterns API#131mintlify[bot] wants to merge 1 commit into
mintlify[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports ClickHouse/clickhouse-docs#6330 — documents the two new Postgres slow query pattern endpoints and cross-links the Query Insights monitoring page with the OpenAPI reference.
Changes
products/managed-postgres/openapi.mdx— added a Query insights section withcurlexamples forslowQueryPatternsGetList(withfrom_date/to_date,sort_by, filters, paging) andslowQueryPatternGet(requireddb_name,db_user,db_operation), sample JSON responses, and new link references. Updated frontmatter keywords.products/managed-postgres/monitoring/query-insights.mdx— added a Query insights API section mapping the Slow patterns table and detail flyout to their API endpoints, plus a Related pages link to the OpenAPI page.Notes / ambiguity
/api-reference/organization/get-list-of-available-organizations#tag/Postgres/...) rather than the externalclickhouse.com/docs/cloud/manage/api/swaggerURL used in the Docusaurus source, matching the existing convention inopenapi.mdx.openapi.mdxalready diverged from the Docusaurus source (uncommented Organization ID section,storageSizeretained in the create example, differentidexample, etc.). Only the strictly additive PR content (the Query insights API section + link refs + keywords) was ported; pre-existing differences were left alone.Note
Low Risk
Documentation-only changes with no runtime, auth, or data-path impact.
Overview
Documents the Managed Postgres slow query pattern OpenAPI endpoints and ties them to the existing Query Insights console docs.
openapi.mdxadds a Query insights section withcurlexamples for listing patterns (from_date/to_date,sort_by, filters, paging) and fetching one pattern byqueryId(requireddb_name,db_user,db_operation), plus sample JSON and Mintlify API reference links. Frontmatter keywords now include query insights / slow queries.query-insights.mdxadds a Query insights API section mapping the Slow patterns table and detail flyout to those endpoints, and a Related pages link back to OpenAPI.Reviewed by Cursor Bugbot for commit 4fd09e0. Bugbot is set up for automated code reviews on this repo. Configure here.